Skip to main content

GetReferenceStyle

Returns the cell reference style.

Syntax

expression.GetReferenceStyle();

expression - A variable that represents a Api class.

Parameters

This method doesn't have any parameters.

Returns

ReferenceStyle

Example

This example gets reference style.

var oWorksheet = Api.GetActiveSheet();
oWorksheet.GetRange("A1").SetValue(Api.GetReferenceStyle());